home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Magazin: Amiga-CD 1996 September & October
/
Amiga-CD 1996 #9-10.iso
/
aminet
/
7-96
/
lha-archive
/
aspell.lha
/
AlphaSpell
/
Docs
/
Register
< prev
next >
Wrap
Text File
|
1995-12-02
|
3KB
|
135 lines
; Registration script for AlphaSpell
; Copyright (c) 1995 Fergus Duniho
(if (= @language "english") (
(set intro-text
"This is not an installation script. It just takes advantage of the"
"Installer program to create a registration form for AlphaSpell."
)
(set where-text "Where do you want the form to go?")
(set name-text "What is your name?")
(set email-text "What is your email address?")
(set country-text "What country do you live in?")
(set state-text "What state do you live in?")
(set provence-text "What provence do you live in?")
(set zipcode-text "What is your zipcode")
(set city-text "What is the name of your city?")
(set street-text "What is your street address?")
(set done-text
"The completed registration form is called %ld. Print it out and"
"mail it to me to register AlphaSpell."
)
)
(if (= @language "german") (
(set intro-text
"Diese ist eine Installationschrift nicht."
)
(set name-text "Was ist Ihr Name?")
(set email-text "Was ist Ihre Emailaddresse?")
(set country-text "Welche
(set file
(tackon
(askdir
(prompt
)
(help @askdir-help)
(default "RAM:")
)
"Registration-Form"
)
)
(set name
(askstring
(prompt "What is your name?\nE.g. Fergus Duniho")
(help @askstring-help)
)
)
(set email
(askstring
(prompt "What is your email address?\nE.g. fdnh@troi.cc.rochester.edu")
(help @askstring-help)
)
)
(set response
(askchoice
(prompt "What country do you live in?")
(help @askchoice-help)
(choices "United States" "Canada" "Other")
)
)
(if (= response 0) (
(set country "USA")
(set state
(askstring
(prompt "What state do you live in?")
(help @askstring-help)
)
)
))
(if (= response 1) (
(set country "Canada")
(set state
(askstring
(prompt "What province do you live in?")
(help @askstring-help)
)
)
))
(if (= response 2)
(set country
(askstring
(prompt "What country do you live in?")
(help @askstring-help)
)
)
)
(set zipcode
(askstring
(prompt "What is your zipcode?\nE.g. 14611-4148")
(help @askstring-help)
)
)
(set city
(askstring
(prompt "What is the name of your city?\nE.g. Rochester")
(help @askstring-help)
)
)
(set address
(askstring
(prompt
"What is your box number or street address?\n"
"E.g. 1095 Genesee St."
)
(help @askstring-help)
)
)
(run
(cat
"echo >" file " \"Please mail this form to:*n*n"
"Fergus Duniho*n1095 Genesee St.*nRochester, NY 14611-4148*n*n"
"Enclosed is $20.00 for the keyfile to AlphaSpell.*n"
"Please send it to:*n*n" name "*n" email "*n"
address "*n" city ", " state " " country " " zipcode "\""
)
)
(message
"The completed registration form is called " file ". Print it out "
"and mail it to me to register AlphaSpell."
)
(exit (quiet))